package com.itheima.chapter10.thread.demo5;

public class MyThread extends Thread {
    @Override
    public void run() {
        Thread thread = Thread.currentThread();
        System.out.println(thread);
        String name = thread.getName();
        System.out.println(name);
        System.out.println("============");

        System.out.println(Thread.currentThread().getName());
        //return false;
    }
}
